//
//  UIBarButtonItem+SY.h
//  MicroNews
//
//  Created by tongcheng on 15/10/20.
//  Copyright © 2015年 siyue. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIBarButtonItem (SY)

+(UIBarButtonItem*)itemWithLeftIcon:(NSString *)icon highIcon:(NSString*)highIcon target:(id)target action:(SEL)action;
+(UIBarButtonItem*)itemWithRightIcon:(NSString *)icon highIcon:(NSString*)highIcon target:(id)target action:(SEL)action;
//导航栏左边按钮的添加  包括设置距离
+(UIBarButtonItem*)itemWithLeftIcon:(NSString *)icon highIcon:(NSString*)highIcon  edgeInsets:(UIEdgeInsets)edgeInsets  target:(id)target action:(SEL)action;
//设置左边按钮文字  包括间距
+(UIBarButtonItem*)itemWithLeftTitle:(NSString*)title target:(id)target action:(SEL)action;

@end
